<?php

class pegawai_model{
	private $db;
	function __construct(){
		require_once('../../model/cruds.php');
		
		$this->db = new CRUDS();
	}
	
	function tambah_pegawai(){
		$this->db->insert
	}
	
	function get_produk_data($id_kop){
		$this->db->select('*');
		$this->db->from('produk');
		$this->db->where('IDKOPERASI = '.$id_kop);
		
		$query = $this->db->get();
		return $query;
	}
}

?>